WP_Defender\Component\Security_Tweaks\Change_Admin S

Total Complexity 24
Dependencies 4
Dependents 1
Total lines 214
Lines of code 114
Logical lines of code 43
Comment lines 74
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
update_username()
A
44 8 47
validate()
S
57 5 18
to_array()
S
58 1 17
process()
S
67 2 8
check()
S
81 1 3
revert()
S
82 1 3
shield_up()
S
82 1 3
is_resolved()
S
80 1 3
get_user_with_admin_username()
S
79 1 3
get_login_url()
S
80 1 3
get_label()
S
79 1 3
get_error_reason()
S
79 1 3